[INFO] cloning repository https://github.com/chansuke/rust_chat
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chansuke/rust_chat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchansuke%2Frust_chat", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchansuke%2Frust_chat'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3b873d67f156172d75e7df27724d5f1853aca532
[INFO] checking chansuke/rust_chat against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchansuke%2Frust_chat" "/workspace/builds/worker-9/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/chansuke/rust_chat on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/chansuke/rust_chat
[INFO] finished tweaking git repo https://github.com/chansuke/rust_chat
[INFO] tweaked toml for git repo https://github.com/chansuke/rust_chat written to /workspace/builds/worker-9/source/Cargo.toml
[INFO] crate git repo https://github.com/chansuke/rust_chat already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-9/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/carllerche/mio`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 9f3bb0479d72b71a671246ea23f1314c8d829ad2b003e9c998a09e3ab885591c
[INFO] running `Command { std: "docker" "start" "-a" "9f3bb0479d72b71a671246ea23f1314c8d829ad2b003e9c998a09e3ab885591c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9f3bb0479d72b71a671246ea23f1314c8d829ad2b003e9c998a09e3ab885591c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9f3bb0479d72b71a671246ea23f1314c8d829ad2b003e9c998a09e3ab885591c", kill_on_drop: false }`
[INFO] [stdout] 9f3bb0479d72b71a671246ea23f1314c8d829ad2b003e9c998a09e3ab885591c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fbbe3bb4f65a7f661ff2c7f108690a45e4090690b8688a0326b9879880e1ccf3
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "fbbe3bb4f65a7f661ff2c7f108690a45e4090690b8688a0326b9879880e1ccf3", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking byteorder v0.5.3
[INFO] [stderr]     Checking rustc-serialize v0.3.24
[INFO] [stderr]    Compiling http-muncher v0.2.5
[INFO] [stderr]     Checking sha1 v0.1.1
[INFO] [stderr]     Checking mio v0.7.0 (https://github.com/carllerche/mio#eef8d3b9)
[INFO] [stderr]     Checking rust_chat v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `mio::tcp`
[INFO] [stdout]   --> src/main.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | use mio::tcp::*;
[INFO] [stdout]    |          ^^^ could not find `tcp` in `mio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `mio::tcp`
[INFO] [stdout]   --> src/main.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | use mio::tcp::*;
[INFO] [stdout]    |          ^^^ could not find `tcp` in `mio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]   --> src/main.rs:78:23
[INFO] [stdout]    |
[INFO] [stdout] 78 |             interest: EventSet::readable(),
[INFO] [stdout]    |                       ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:103:38
[INFO] [stdout]     |
[INFO] [stdout] 103 |                 self.interest.remove(EventSet::writable());
[INFO] [stdout]     |                                      ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:104:38
[INFO] [stdout]     |
[INFO] [stdout] 104 |                 self.interest.insert(EventSet::readable());
[INFO] [stdout]     |                                      ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:122:30
[INFO] [stdout]     |
[INFO] [stdout] 122 |         self.interest.remove(EventSet::writable());
[INFO] [stdout]     |                              ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]   --> src/main.rs:78:23
[INFO] [stdout]    |
[INFO] [stdout] 78 |             interest: EventSet::readable(),
[INFO] [stdout]    |                       ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:123:30
[INFO] [stdout]     |
[INFO] [stdout] 123 |         self.interest.insert(EventSet::readable());
[INFO] [stdout]     |                              ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:140:46
[INFO] [stdout]     |
[INFO] [stdout] 140 |                         self.interest.remove(EventSet::readable());
[INFO] [stdout]     |                                              ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:141:46
[INFO] [stdout]     |
[INFO] [stdout] 141 |                         self.interest.insert(EventSet::writable());
[INFO] [stdout]     |                                              ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:173:46
[INFO] [stdout]     |
[INFO] [stdout] 173 |                         self.interest.remove(EventSet::readable());
[INFO] [stdout]     |                                              ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:103:38
[INFO] [stdout]     |
[INFO] [stdout] 103 |                 self.interest.remove(EventSet::writable());
[INFO] [stdout]     |                                      ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:174:46
[INFO] [stdout]     |
[INFO] [stdout] 174 |                         self.interest.insert(EventSet::writable());
[INFO] [stdout]     |                                              ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:104:38
[INFO] [stdout]     |
[INFO] [stdout] 104 |                 self.interest.insert(EventSet::readable());
[INFO] [stdout]     |                                      ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:122:30
[INFO] [stdout]     |
[INFO] [stdout] 122 |         self.interest.remove(EventSet::writable());
[INFO] [stdout]     |                              ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:123:30
[INFO] [stdout]     |
[INFO] [stdout] 123 |         self.interest.insert(EventSet::readable());
[INFO] [stdout]     |                              ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:212:86
[INFO] [stdout]     |
[INFO] [stdout] 212 |                     event_loop.register(&self.clients[&new_token].socket, new_token, EventSet::readable(),
[INFO] [stdout]     |                                                                                      ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:140:46
[INFO] [stdout]     |
[INFO] [stdout] 140 |                         self.interest.remove(EventSet::readable());
[INFO] [stdout]     |                                              ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]    --> src/main.rs:213:41
[INFO] [stdout]     |
[INFO] [stdout] 213 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]     |                       ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:141:46
[INFO] [stdout]     |
[INFO] [stdout] 141 |                         self.interest.insert(EventSet::writable());
[INFO] [stdout]     |                                              ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]    --> src/main.rs:213:59
[INFO] [stdout]     |
[INFO] [stdout] 213 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]     |                                         ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:173:46
[INFO] [stdout]     |
[INFO] [stdout] 173 |                         self.interest.remove(EventSet::readable());
[INFO] [stdout]     |                                              ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]    --> src/main.rs:219:43
[INFO] [stdout]     |
[INFO] [stdout] 219 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]     |                       ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]    --> src/main.rs:219:61
[INFO] [stdout]     |
[INFO] [stdout] 219 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]     |                                         ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:174:46
[INFO] [stdout]     |
[INFO] [stdout] 174 |                         self.interest.insert(EventSet::writable());
[INFO] [stdout]     |                                              ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]    --> src/main.rs:228:35
[INFO] [stdout]     |
[INFO] [stdout] 228 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]     |                       ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]    --> src/main.rs:228:53
[INFO] [stdout]     |
[INFO] [stdout] 228 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]     |                                         ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:212:86
[INFO] [stdout]     |
[INFO] [stdout] 212 |                     event_loop.register(&self.clients[&new_token].socket, new_token, EventSet::readable(),
[INFO] [stdout]     |                                                                                      ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventLoop`
[INFO] [stdout]    --> src/main.rs:237:26
[INFO] [stdout]     |
[INFO] [stdout] 237 |     let mut event_loop = EventLoop::new().unwrap();
[INFO] [stdout]     |                          ^^^^^^^^^ use of undeclared type or module `EventLoop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:247:25
[INFO] [stdout]     |
[INFO] [stdout] 247 |                         EventSet::readable(),
[INFO] [stdout]     |                         ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]    --> src/main.rs:213:41
[INFO] [stdout]     |
[INFO] [stdout] 213 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]     |                       ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]    --> src/main.rs:213:59
[INFO] [stdout]     |
[INFO] [stdout] 213 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]     |                                         ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]    --> src/main.rs:248:25
[INFO] [stdout]     |
[INFO] [stdout] 248 |                         PollOpt::edge()).unwrap();
[INFO] [stdout]     |                         ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope
[INFO] [stdout]   --> src/main.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 |     socket: TcpStream,
[INFO] [stdout]    |             ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 9  | use std::net::TcpStream;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EventSet` in this scope
[INFO] [stdout]   --> src/main.rs:66:15
[INFO] [stdout]    |
[INFO] [stdout] 66 |     interest: EventSet,
[INFO] [stdout]    |               ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope
[INFO] [stdout]   --> src/main.rs:72:20
[INFO] [stdout]    |
[INFO] [stdout] 72 |     fn new(socket: TcpStream) -> WebSocketClient {
[INFO] [stdout]    |                    ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 9  | use std::net::TcpStream;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TcpListener` in this scope
[INFO] [stdout]    --> src/main.rs:184:13
[INFO] [stdout]     |
[INFO] [stdout] 184 |     socket: TcpListener,
[INFO] [stdout]     |             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 9   | use std::net::TcpListener;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope
[INFO] [stdout]    --> src/main.rs:191:6
[INFO] [stdout]     |
[INFO] [stdout] 191 | impl Handler for WebSocketServer {
[INFO] [stdout]     |      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope
[INFO] [stdout]    --> src/main.rs:195:42
[INFO] [stdout]     |
[INFO] [stdout] 195 |     fn ready(&mut self, event_loop: &mut EventLoop<WebSocketServer>, token: Token, events: EventSet) {
[INFO] [stdout]     |                                          ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EventSet` in this scope
[INFO] [stdout]    --> src/main.rs:195:92
[INFO] [stdout]     |
[INFO] [stdout] 195 |     fn ready(&mut self, event_loop: &mut EventLoop<WebSocketServer>, token: Token, events: EventSet) {
[INFO] [stdout]     |                                                                                            ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TcpListener`
[INFO] [stdout]    --> src/main.rs:235:25
[INFO] [stdout]     |
[INFO] [stdout] 235 |     let server_socket = TcpListener::bind(&address).unwrap();
[INFO] [stdout]     |                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 9   | use std::net::TcpListener;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]    --> src/main.rs:219:43
[INFO] [stdout]     |
[INFO] [stdout] 219 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]     |                       ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/frame.rs:86:9
[INFO] [stdout]    |
[INFO] [stdout] 86 |         try!(output.write_u16::<BigEndian>(hdr));
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]    --> src/main.rs:219:61
[INFO] [stdout]     |
[INFO] [stdout] 219 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]     |                                         ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/frame.rs:89:30
[INFO] [stdout]    |
[INFO] [stdout] 89 |             FRAME_LEN_U16 => try!(output.write_u16::<BigEndian>(self.payload.len() as u16)),
[INFO] [stdout]    |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/frame.rs:90:30
[INFO] [stdout]    |
[INFO] [stdout] 90 |             FRAME_LEN_U64 => try!(output.write_u64::<BigEndian>(self.payload.len() as u64)),
[INFO] [stdout]    |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/frame.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |         try!(output.write(&self.payload));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/frame.rs:99:19
[INFO] [stdout]    |
[INFO] [stdout] 99 |         let buf = try!(input.read_u16::<BigEndian>());
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/frame.rs:102:19
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let len = try!(Self::read_length(header.payload_length, input));
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/frame.rs:104:24
[INFO] [stdout]     |
[INFO] [stdout] 104 |             let mask = try!(Self::read_mask(input));
[INFO] [stdout]     |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/frame.rs:109:27
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let mut payload = try!(Self::read_payload(len, input));
[INFO] [stdout]     |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/frame.rs:156:9
[INFO] [stdout]     |
[INFO] [stdout] 156 |         try!(input.read(&mut buf));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/frame.rs:163:9
[INFO] [stdout]     |
[INFO] [stdout] 163 |         try!(input.read(&mut payload));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/frame.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]    --> src/main.rs:228:35
[INFO] [stdout]     |
[INFO] [stdout] 228 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]     |                       ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]    --> src/main.rs:228:53
[INFO] [stdout]     |
[INFO] [stdout] 228 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]     |                                         ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventLoop`
[INFO] [stdout]    --> src/main.rs:237:26
[INFO] [stdout]     |
[INFO] [stdout] 237 |     let mut event_loop = EventLoop::new().unwrap();
[INFO] [stdout]     |                          ^^^^^^^^^ use of undeclared type or module `EventLoop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:247:25
[INFO] [stdout]     |
[INFO] [stdout] 247 |                         EventSet::readable(),
[INFO] [stdout]     |                         ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]    --> src/main.rs:248:25
[INFO] [stdout]     |
[INFO] [stdout] 248 |                         PollOpt::edge()).unwrap();
[INFO] [stdout]     |                         ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope
[INFO] [stdout]   --> src/main.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 |     socket: TcpStream,
[INFO] [stdout]    |             ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 9  | use std::net::TcpStream;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EventSet` in this scope
[INFO] [stdout]   --> src/main.rs:66:15
[INFO] [stdout]    |
[INFO] [stdout] 66 |     interest: EventSet,
[INFO] [stdout]    |               ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope
[INFO] [stdout]   --> src/main.rs:72:20
[INFO] [stdout]    |
[INFO] [stdout] 72 |     fn new(socket: TcpStream) -> WebSocketClient {
[INFO] [stdout]    |                    ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 9  | use std::net::TcpStream;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TcpListener` in this scope
[INFO] [stdout]    --> src/main.rs:184:13
[INFO] [stdout]     |
[INFO] [stdout] 184 |     socket: TcpListener,
[INFO] [stdout]     |             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 9   | use std::net::TcpListener;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope
[INFO] [stdout]    --> src/main.rs:191:6
[INFO] [stdout]     |
[INFO] [stdout] 191 | impl Handler for WebSocketServer {
[INFO] [stdout]     |      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope
[INFO] [stdout]    --> src/main.rs:195:42
[INFO] [stdout]     |
[INFO] [stdout] 195 |     fn ready(&mut self, event_loop: &mut EventLoop<WebSocketServer>, token: Token, events: EventSet) {
[INFO] [stdout]     |                                          ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EventSet` in this scope
[INFO] [stdout]    --> src/main.rs:195:92
[INFO] [stdout]     |
[INFO] [stdout] 195 |     fn ready(&mut self, event_loop: &mut EventLoop<WebSocketServer>, token: Token, events: EventSet) {
[INFO] [stdout]     |                                                                                            ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TcpListener`
[INFO] [stdout]    --> src/main.rs:235:25
[INFO] [stdout]     |
[INFO] [stdout] 235 |     let server_socket = TcpListener::bind(&address).unwrap();
[INFO] [stdout]     |                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 9   | use std::net::TcpListener;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/frame.rs:86:9
[INFO] [stdout]    |
[INFO] [stdout] 86 |         try!(output.write_u16::<BigEndian>(hdr));
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/frame.rs:89:30
[INFO] [stdout]    |
[INFO] [stdout] 89 |             FRAME_LEN_U16 => try!(output.write_u16::<BigEndian>(self.payload.len() as u16)),
[INFO] [stdout]    |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/frame.rs:90:30
[INFO] [stdout]    |
[INFO] [stdout] 90 |             FRAME_LEN_U64 => try!(output.write_u64::<BigEndian>(self.payload.len() as u64)),
[INFO] [stdout]    |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/frame.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |         try!(output.write(&self.payload));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/frame.rs:99:19
[INFO] [stdout]    |
[INFO] [stdout] 99 |         let buf = try!(input.read_u16::<BigEndian>());
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/frame.rs:102:19
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let len = try!(Self::read_length(header.payload_length, input));
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/frame.rs:104:24
[INFO] [stdout]     |
[INFO] [stdout] 104 |             let mask = try!(Self::read_mask(input));
[INFO] [stdout]     |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/frame.rs:109:27
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let mut payload = try!(Self::read_payload(len, input));
[INFO] [stdout]     |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/frame.rs:156:9
[INFO] [stdout]     |
[INFO] [stdout] 156 |         try!(input.read(&mut buf));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/frame.rs:163:9
[INFO] [stdout]     |
[INFO] [stdout] 163 |         try!(input.read(&mut payload));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/frame.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 28 previous errors; 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 28 previous errors; 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_chat`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "fbbe3bb4f65a7f661ff2c7f108690a45e4090690b8688a0326b9879880e1ccf3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fbbe3bb4f65a7f661ff2c7f108690a45e4090690b8688a0326b9879880e1ccf3", kill_on_drop: false }`
[INFO] [stdout] fbbe3bb4f65a7f661ff2c7f108690a45e4090690b8688a0326b9879880e1ccf3
